import { createBrowserRouter } from "react-router-dom";
import { Home } from "../pages/home/Home.tsx";
import { ArticleDetail } from "../pages/doc/ArticleDetail.tsx";
import Login from "../pages/user/Login.tsx";

const router = createBrowserRouter([
  {
    path: "/doc",
    element: <Home />,
    children: [],
  },
  {
    path: "/doc/get",
    element: <ArticleDetail />,
  },
  {
    path: "/user",
    element: <Login />,
  },
]);

export default router;
